----------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Volumes/T5 OGOKCE/II Replication/Replications Final/Estimations/GERD_dirdyad_v2.3.log
  log type:  text
 opened on:   1 Feb 2022, 17:09:29

. 
. use GERD_dirdyad_v2.3.dta

. 
. ***Model 1
. eststo Model1: logit initiation ENERGY_DEPEND contiguity democ1 democ2 democ12 major1 major2 major12 rel
> power1 tradedep1 econgrate1 srsvva alliance peaceyears spl2 spl3 spl4, vce(cl dyadid) nolog

Logistic regression                                    Number of obs = 543,621
                                                       Wald chi2(17) = 2866.22
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3737.2025                      Pseudo R2     =  0.3977

                             (Std. err. adjusted for 22,935 clusters in dyadid)
-------------------------------------------------------------------------------
              |               Robust
   initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
--------------+----------------------------------------------------------------
ENERGY_DEPEND |  -1.236784   .6970288    -1.77   0.076    -2.602936    .1293671
   contiguity |   3.149805   .1518509    20.74   0.000     2.852182    3.447427
       democ1 |   .1007034   .1312946     0.77   0.443    -.1566293    .3580361
       democ2 |   .2341432   .1339021     1.75   0.080    -.0283001    .4965865
      democ12 |  -.7652616   .1988049    -3.85   0.000    -1.154912   -.3756112
       major1 |   .6403455   .1761885     3.63   0.000     .2950223    .9856687
       major2 |   .7748707   .2405151     3.22   0.001     .3034697    1.246272
      major12 |  -.3163067   .5220088    -0.61   0.545    -1.339425    .7068118
    relpower1 |   .6894846   .1822234     3.78   0.000     .3323333    1.046636
    tradedep1 |   .8394912   .9060714     0.93   0.354    -.9363761    2.615358
   econgrate1 |  -.4519712   .3448381    -1.31   0.190    -1.127841    .2238991
       srsvva |  -.9577213   .2142313    -4.47   0.000    -1.377607   -.5378358
     alliance |    .341712   .1376433     2.48   0.013     .0719361    .6114879
   peaceyears |  -.2392754   .0188623   -12.69   0.000    -.2762449   -.2023059
         spl2 |   2.031088   .2841061     7.15   0.000      1.47425    2.587926
         spl3 |  -6.766126   1.285211    -5.26   0.000    -9.285093   -4.247159
         spl4 |  -7.467025   10.80172    -0.69   0.489    -28.63801    13.70396
        _cons |  -4.684751   .2349108   -19.94   0.000    -5.145168   -4.224334
-------------------------------------------------------------------------------
Note: 217329 failures and 0 successes completely determined.

. 
. ***Model 2
. eststo Model2: logit initiation MA3ENERGYDEP contiguity democ1 democ2 democ12 major1 major2 major12 relp
> ower1 tradedep1 econgrate1 srsvva alliance peaceyears spl2 spl3 spl4, vce(cl dyadid) nolog

Logistic regression                                    Number of obs = 527,214
                                                       Wald chi2(17) = 2913.84
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3580.0269                      Pseudo R2     =  0.4019

                            (Std. err. adjusted for 22,917 clusters in dyadid)
------------------------------------------------------------------------------
             |               Robust
  initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
MA3ENERGYDEP |  -1.610654   .7105559    -2.27   0.023    -3.003318     -.21799
  contiguity |   3.092038   .1591655    19.43   0.000      2.78008    3.403997
      democ1 |   .1220845   .1314921     0.93   0.353    -.1356352    .3798041
      democ2 |   .2917255   .1332255     2.19   0.029     .0306082    .5528428
     democ12 |  -.7667978    .198876    -3.86   0.000    -1.156588   -.3770081
      major1 |   .6779862     .17605     3.85   0.000     .3329345    1.023038
      major2 |   .7715688   .2458283     3.14   0.002     .2897542    1.253383
     major12 |  -.4126114   .5373054    -0.77   0.443    -1.465711    .6404878
   relpower1 |   .6870098   .1824264     3.77   0.000     .3294607    1.044559
   tradedep1 |   1.035021    .953638     1.09   0.278    -.8340748    2.904118
  econgrate1 |  -.8847131   .3734711    -2.37   0.018    -1.616703   -.1527231
      srsvva |  -.9208706   .2124528    -4.33   0.000     -1.33727   -.5044708
    alliance |   .3198866   .1364726     2.34   0.019     .0524052     .587368
  peaceyears |  -.2457265   .0195852   -12.55   0.000    -.2841128   -.2073403
        spl2 |   2.122076   .2870606     7.39   0.000     1.559447    2.684704
        spl3 |  -7.206952   1.291978    -5.58   0.000    -9.739183   -4.674722
        spl4 |  -5.058215   10.38233    -0.49   0.626     -25.4072    15.29077
       _cons |  -4.604319   .2399731   -19.19   0.000    -5.074658   -4.133981
------------------------------------------------------------------------------
Note: 212764 failures and 0 successes completely determined.

. 
. ***Model 3-6
. foreach x in COAL OIL NATGAS ELECTR{
  2.         eststo Model`x': logit initiation `x'DEPENDENCE contiguity democ1 democ2 democ12 major1 major
> 2 major12 relpower1 tradedep1 econgrate1 srsvva alliance peaceyears spl2 spl3 spl4, vce(cl dyadid) nolog
  3. }

Logistic regression                                    Number of obs = 464,148
                                                       Wald chi2(17) = 2464.33
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3337.2534                      Pseudo R2     =  0.3845

                              (Std. err. adjusted for 22,040 clusters in dyadid)
--------------------------------------------------------------------------------
               |               Robust
    initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
---------------+----------------------------------------------------------------
COALDEPENDENCE |  -1.593807   2.469516    -0.65   0.519    -6.433969    3.246355
    contiguity |    2.99742   .1607858    18.64   0.000     2.682286    3.312555
        democ1 |   .0354055   .1427361     0.25   0.804    -.2443522    .3151631
        democ2 |   .1807547   .1479967     1.22   0.222    -.1093134    .4708229
       democ12 |    -.76283   .2211506    -3.45   0.001    -1.196277   -.3293828
        major1 |    .703442   .1879513     3.74   0.000     .3350642     1.07182
        major2 |   .8604218   .2427997     3.54   0.000     .3845431    1.336301
       major12 |  -.2730603    .558359    -0.49   0.625    -1.367424    .8213033
     relpower1 |   .7469376   .1939739     3.85   0.000     .3667558    1.127119
     tradedep1 |   .4845721   .8170425     0.59   0.553    -1.116802    2.085946
    econgrate1 |   -.723392   .3738828    -1.93   0.053    -1.456189    .0094047
        srsvva |  -1.019587   .2126999    -4.79   0.000    -1.436471   -.6027025
      alliance |   .4322051   .1403369     3.08   0.002     .1571499    .7072603
    peaceyears |  -.2262349   .0193741   -11.68   0.000    -.2642074   -.1882624
          spl2 |   1.855234   .2942526     6.30   0.000     1.278509    2.431958
          spl3 |  -6.314384   1.330126    -4.75   0.000    -8.921382   -3.707385
          spl4 |  -5.659479   9.857137    -0.57   0.566    -24.97911    13.66015
         _cons |  -4.632224   .2436237   -19.01   0.000    -5.109718   -4.154731
--------------------------------------------------------------------------------
Note: 179571 failures and 0 successes completely determined.

Logistic regression                                    Number of obs = 496,770
                                                       Wald chi2(17) = 2721.74
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3609.3883                      Pseudo R2     =  0.3915

                             (Std. err. adjusted for 22,332 clusters in dyadid)
-------------------------------------------------------------------------------
              |               Robust
   initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
--------------+----------------------------------------------------------------
OILDEPENDENCE |  -.7077219   .8137627    -0.87   0.384    -2.302667    .8872236
   contiguity |   3.079601   .1527351    20.16   0.000     2.780245    3.378956
       democ1 |   .1291634   .1370514     0.94   0.346    -.1394524    .3977791
       democ2 |   .2397768   .1362942     1.76   0.079     -.027355    .5069086
      democ12 |  -.7995584   .2018135    -3.96   0.000    -1.195106   -.4040111
       major1 |   .6221672   .1743544     3.57   0.000     .2804387    .9638956
       major2 |   .7231921   .2489279     2.91   0.004     .2353025    1.211082
      major12 |  -.2371518   .5186165    -0.46   0.647    -1.253621    .7793178
    relpower1 |   .7158306    .190371     3.76   0.000     .3427102    1.088951
    tradedep1 |   .9721384   .9352852     1.04   0.299    -.8609869    2.805264
   econgrate1 |  -.6215554   .3647783    -1.70   0.088    -1.336508    .0933968
       srsvva |  -.9526342   .2152869    -4.42   0.000    -1.374589   -.5306796
     alliance |   .3193745    .142538     2.24   0.025     .0400051    .5987439
   peaceyears |  -.2365137    .019288   -12.26   0.000    -.2743175   -.1987099
         spl2 |   1.979627   .2904457     6.82   0.000     1.410364     2.54889
         spl3 |  -6.562066   1.309969    -5.01   0.000    -9.129559   -3.994573
         spl4 |  -7.667198    10.7289    -0.71   0.475    -28.69545    13.36105
        _cons |  -4.664387   .2450213   -19.04   0.000     -5.14462   -4.184154
-------------------------------------------------------------------------------
Note: 199235 failures and 0 successes completely determined.

Logistic regression                                    Number of obs = 542,482
                                                       Wald chi2(17) = 2855.62
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3731.8665                      Pseudo R2     =  0.3978

                                (Std. err. adjusted for 22,931 clusters in dyadid)
----------------------------------------------------------------------------------
                 |               Robust
      initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-----------------+----------------------------------------------------------------
NATGASDEPENDENCE |  -3.486369   2.090617    -1.67   0.095    -7.583903    .6111642
      contiguity |   3.141637   .1511914    20.78   0.000     2.845308    3.437967
          democ1 |   .0991166   .1313682     0.75   0.451    -.1583604    .3565937
          democ2 |   .2346382   .1338683     1.75   0.080    -.0277389    .4970153
         democ12 |  -.7732793   .1993134    -3.88   0.000    -1.163926   -.3826323
          major1 |   .6426143   .1759356     3.65   0.000     .2977869    .9874417
          major2 |   .8075263   .2400951     3.36   0.001     .3369484    1.278104
         major12 |  -.3352875   .5205133    -0.64   0.519    -1.355475    .6848999
       relpower1 |   .7048779   .1816399     3.88   0.000     .3488703    1.060885
       tradedep1 |   .7221013   .8888995     0.81   0.417     -1.02011    2.464312
      econgrate1 |  -.4618368   .3470209    -1.33   0.183    -1.141985    .2183116
          srsvva |  -.9462471   .2135219    -4.43   0.000    -1.364742   -.5277518
        alliance |   .3510372   .1373456     2.56   0.011     .0818447    .6202296
      peaceyears |  -.2393759   .0189809   -12.61   0.000    -.2765778    -.202174
            spl2 |   2.028243    .285395     7.11   0.000     1.468879    2.587607
            spl3 |  -6.748576   1.288663    -5.24   0.000     -9.27431   -4.222843
            spl4 |  -7.544932   10.81335    -0.70   0.485     -28.7387    13.64884
           _cons |  -4.698756   .2361004   -19.90   0.000    -5.161505   -4.236008
----------------------------------------------------------------------------------
Note: 217265 failures and 0 successes completely determined.

Logistic regression                                    Number of obs = 540,411
                                                       Wald chi2(17) = 2567.93
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -3336.4467                      Pseudo R2     =  0.4006

                                (Std. err. adjusted for 22,913 clusters in dyadid)
----------------------------------------------------------------------------------
                 |               Robust
      initiation | Coefficient  std. err.      z    P>|z|     [95% conf. interval]
-----------------+----------------------------------------------------------------
ELECTRDEPENDENCE |  -83.96527   55.97118    -1.50   0.134    -193.6668    25.73623
      contiguity |   3.169379   .1582814    20.02   0.000     2.859153    3.479605
          democ1 |   .0521806   .1420094     0.37   0.713    -.2261527    .3305139
          democ2 |   .1859611   .1480833     1.26   0.209    -.1042768     .476199
         democ12 |  -.8524548   .2206123    -3.86   0.000    -1.284847   -.4200626
          major1 |   .8399076   .1864453     4.50   0.000     .4744816    1.205334
          major2 |   1.009708   .2604978     3.88   0.000      .499142    1.520275
         major12 |  -.6040852   .5630823    -1.07   0.283    -1.707706    .4995358
       relpower1 |   .8110433   .2028927     4.00   0.000     .4133809    1.208706
       tradedep1 |   1.188521   1.034482     1.15   0.251    -.8390267    3.216069
      econgrate1 |  -1.028252    .395886    -2.60   0.009    -1.804174   -.2523294
          srsvva |  -.8836612   .2289535    -3.86   0.000    -1.332402   -.4349206
        alliance |      .3421   .1554391     2.20   0.028     .0374449    .6467551
      peaceyears |  -.2421902   .0203301   -11.91   0.000    -.2820365   -.2023439
            spl2 |    2.03817   .3045159     6.69   0.000      1.44133     2.63501
            spl3 |  -7.087525   1.353196    -5.24   0.000    -9.739741   -4.435309
            spl4 |  -1.407858   8.790522    -0.16   0.873    -18.63696    15.82125
           _cons |  -4.760324    .254041   -18.74   0.000    -5.258235   -4.262413
----------------------------------------------------------------------------------
Note: 203999 failures and 0 successes completely determined.

. 
. ***Table 4
. esttab Model1 Model2 using Table4.rtf, replace ti("\f1 Table 1: Energy Dependence and Militarized Inters
> tate Dispute Initiation") star(* 0.10 ** 0.05 *** 0.01) label  interaction(" x ") scalars("cmd Estimatio
> n" "chi2type Test" "chi2 Chi-squared" "ll Log-likelihood") noomitted pr2 onecell nogaps
(output written to Table4.rtf)

. 
. ***Table 5
. esttab ModelCOAL ModelOIL ModelNATGAS ModelELECTR using Table5.rtf, replace ti("\f1 Table 1: Resource-ba
> sed Energy Dependence and Militarized Interstate Dispute Initiation") star(* 0.10 ** 0.05 *** 0.01) labe
> l  interaction(" x ") scalars("cmd Estimation" "chi2type Test" "chi2 Chi-squared" "ll Log-likelihood") n
> oomitted pr2 onecell nogaps
(output written to Table5.rtf)

. 
. 
. log close
      name:  <unnamed>
       log:  /Volumes/T5 OGOKCE/II Replication/Replications Final/Estimations/GERD_dirdyad_v2.3.log
  log type:  text
 closed on:   1 Feb 2022, 17:11:06
----------------------------------------------------------------------------------------------------------
